﻿@{
    ViewBag.Title = "日志列表";
    Layout = "~/Views/Shared/_LayoutList.cshtml"; 
}
@(       
 Html.DWZGridFor<log>()
    .Title("日志列表")
    .Action(@Url.Action("LogList"))
    .Columns(col =>
    {
        col.Bind(e => e.Id).IsKey();
        col.Bind(e => e.OperateCode).Width(80).AsQuery().Align(FlexiGridAlign.Left);
        col.Bind(e => e.Content).Width("auto").AsQuery().Align(FlexiGridAlign.Left);
        col.Bind(e => e.LogType).Width(100).Align(FlexiGridAlign.Left);
        col.Bind(e => e.IPAddress).Width(100).Align(FlexiGridAlign.Left);
        col.Bind(e => e.UpdateUser).Width(60);
        col.Bind(e => e.UpdateDate).Width(70).DateFormat("yyyy-MM-dd");
    })
)
